;(function(){
	jadeSystem.validateInstall();
	
	/**
	 * 精灵
	 * @param {Object} name 名称
	 * @param {Object} layerGroup 层组
	 * @param {Object} eventSupport
	 */
	JadeEngine.Sprite = function(name,layerGroup,eventSupport){
		this.id = GUID.next();
		this.name = name;
		this.layerGroup = layerGroup;
		this.eventSupport = eventSupport;
		this.startLocation = {x:0,y:0};
		this.width = 2;
		this.height = 2;
		this.onEvent = function(){
		
		}
		if(jadeSystem.isUndefine(this.eventSupport)){
			this.eventSupport = true;
			JadeEngine.event.pool[this.id] = this;
		}
	}
	
	
}());
